
import 'package:todo_app/thirdpart/flutter_fms/flutter_fms.dart';
import 'package:todo_app/utils/call/states/ConnectingState.dart';

import '../states/IdleState.dart';

class CallOutTransition extends ITransition {

  CallOutTransition({ConnectingState? connectingState}) : super(toState: connectingState);

  @override
  bool check() {
    if(toState == null || fromState == null) return false;
    if(fromState is IdleState) {
      return true;
    }
    return false;
  }

  @override
  bool? onCompleteCallBack() => null;

  @override
  String get name => "CallOutTransition";
}